package com.ws.zn.user;

import com.ws.rain.base.annotation.SpringRain;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import static com.ws.zn.api.comm.Const.*;

@MapperScan(basePackages = DAO)
@EnableDiscoveryClient
@SpringRain(basePackage = "com.ws.zn.user.controller")
@SpringBootApplication(scanBasePackages = {USER,DAO})
@EnableTransactionManagement(proxyTargetClass = true)
public class UserApplication {
	public static void main(String[] args) {
		SpringApplication.run(UserApplication.class, args);
	}
}
